package com.tuling.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class A {


    @Autowired
    B b;

    public void sayA(){
        b.sayB();
    }
}
